package com.fzl.springblogdemo.service.impl;

import com.fzl.springblogdemo.pojo.dataobject.BlogInfo;
import com.fzl.springblogdemo.pojo.request.AddBlogRequest;
import com.fzl.springblogdemo.pojo.request.UpdateBlogRequest;
import com.fzl.springblogdemo.pojo.response.BlogInfoResponse;

import java.util.List;

public interface BlogService {
    List<BlogInfoResponse> getList();

    BlogInfoResponse getBolgDetail(Integer blogId);

    public BlogInfo getBolgInfo(Integer blogId);

    Boolean addBlog(AddBlogRequest addBlogRequest);

    Boolean updateBlog(UpdateBlogRequest updateBlogRequest);

    Boolean deleteBlog(Integer blogId);
}
